import {defineStore} from 'pinia';
import axios from "axios";

export const userCountStore = defineStore('count', {
    ///storeToRefs
    actions: {
        getData() {
            axios.get('https://api.uomg.com/api/')
        }
    },
    ///存数据的地方
    state: () => {
        return {
            sum: 6
        }
    },
},);